home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / ps40sdk / examples / import / gradientimport / gradientimport.pipl < prev    next >
Encoding:
Text File  |  1996-10-09  |  2.7 KB  |  153 lines

  1. #define RSCL32(a,b,c,d)        0x ## c ## d, 0x ## a ## b
  2. #define RSCS32(a)        a, 0x0
  3.  
  4. STRINGTABLE    DISCARDABLE
  5. BEGIN
  6.     16990,
  7.     "An integer is required between ^1 and ^2."
  8. END
  9.  
  10. STRINGTABLE    DISCARDABLE
  11. BEGIN
  12.     16991,
  13.     "A decimal number is required between ^1 and ^2."
  14. END
  15.  
  16. STRINGTABLE    DISCARDABLE
  17. BEGIN
  18.     16992,
  19.     "This plug-in requires Adobe Photoshop« ^1 or later functionality."
  20. END
  21.  
  22. STRINGTABLE    DISCARDABLE
  23. BEGIN
  24.     16993,
  25.     "This plug-in is incompatible with this version of the host program."
  26. END
  27.  
  28. STRINGTABLE    DISCARDABLE
  29. BEGIN
  30.     16001,
  31.     "GradientImport"
  32. END
  33.  
  34. 16000  PiPL  DISCARDABLE
  35. BEGIN
  36.     0x0001,     /* Must always be the first Byte */
  37.     RSCS32(0),     /* kCurrentPiPLVersion */
  38.     RSCS32(  5), /* Property Count */
  39.     "MIB8",
  40.     "dnik", /* 'kind' PIKindProperty*/
  41.     RSCS32(0),
  42.     RSCS32(4),
  43.     "MAB8",
  44.  
  45.     "MIB8",
  46.     "eman",/* 'name' PINameProperty */
  47.     RSCS32(0),
  48.     RSCS32(20),
  49.     "\x11GradientImport...\0\0", 
  50.  
  51.     "MIB8",
  52.     "srev", /* 'vers' PIVersionProperty */
  53.     RSCS32(0),
  54.     RSCS32(4),
  55.     0, 4, 
  56.  
  57.     "MIB8",
  58.     "68xw", /* 'wx86' PIWin32X86CodeProperty */
  59.     RSCS32(0),
  60.     RSCS32(12),
  61.     "ENTRYPOINT\0\0", 
  62.  
  63.     "MIB8",
  64.     "mtsh", /* 'hstm' PITerminology */
  65.     RSCS32(0),
  66.     RSCS32(20),
  67.     RSCS32(0), /* version */
  68.     "Darg", /* classID */
  69.     "llun", /* eventID */
  70.     16000, /* Terminology ID */
  71.     "\0\0\0\0\0\0", /* Unique string */
  72.  
  73. END
  74.  
  75. STRINGTABLE    DISCARDABLE
  76. BEGIN
  77.     16000,
  78.     "GradientImport\n\nVersion 4.0\nCopyright ⌐ 1992-6, Adobe Systems Incorporated.\nAll rights reserved.\n\nAn example import plug-in module for Adobe Photoshop«."
  79. END
  80.  
  81. 16000    aete    DISCARDABLE
  82. BEGIN
  83.     0x0001,
  84.     1,/* majorVersion|minorVersion */
  85.     0,/* language */
  86.     0,/* script */
  87.         1,/* SuiteCount */
  88.     "\10","AdobeSDK",
  89.     "\26","Adobe example plug-ins",
  90.     1935952691L,
  91.     1,
  92.     1,
  93.         0,/* EventCount */
  94.         2,
  95.     "\27","AdobeSDK gradientImport",
  96.     1735549252L,
  97.     "\26","gradientImport plug-in",
  98.         2,
  99.     "\15","<Inheritance>",
  100.     1665147742L,
  101.     1231908978L,
  102.     "\23","parent class import",
  103.     0,
  104.     "\14","multi-import",
  105.     1836411979L,
  106.     1836411987L,
  107.     "\36","multiple import info structure",
  108.     2,
  109.         0,
  110.     "\13","import info",
  111.     1836411987L,
  112.     "\21","class import info",
  113.         4,
  114.     "\4","rows",
  115.     1215461998L,
  116.     1685026146L,
  117.     "\16","number of rows",
  118.     0,
  119.     "\7","columns",
  120.     1450341475L,
  121.     1685026146L,
  122.     "\21","number of columns",
  123.     0,
  124.     "\4","mode",
  125.     1298407456L,
  126.     1735552340L,
  127.     "\12","color mode",
  128.     4,
  129.     "\6","invert",
  130.     1231976050L,
  131.     1651470188L,
  132.     "\14","invert image",
  133.     0,
  134.         0,
  135.     0
  136.         1,
  137.     1735552340L,
  138.         4,
  139.     "\6","bitmap",
  140.     1651078221L,
  141.     "\13","bitmap mode",
  142.     "\11","grayscale",
  143.     1735555411L,
  144.     "\16","grayscale mode",
  145.     "\15","indexed color",
  146.     1768842328L,
  147.     "\22","indexed color mode",
  148.     "\11","rgb color",
  149.     1919377987L,
  150.     "\16","rgb color mode",
  151. END
  152.  
  153.